const resolve = path => require('path').join(__dirname, path)

module.exports = {
  publicPath: '/study/',
  productionSourceMap: false,
  devServer: {
    // overlay: {
    //    warnings: false,
    //    errors: false
    // },
  },
  lintOnSave: false,
  chainWebpack: config => {
    config.resolve.alias
      .set('@', resolve('src'))
  }
}
